package com.cloudstudy.entity;

import com.cloudstudy.tool.JsonTool;
import com.cloudstudy.tool.SeqTool;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @auther zzyy
 * @create 2020-02-18 17:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Payment
{
    private String id;
    private String serial;

    public static void main(String[] args) {
        Payment payment = new Payment();
        payment.setSerial("student II");
        System.out.println(JsonTool.toJson(payment));
    }
}
